package Demo2;

public class Refrigerator extends ElectricalEquipment{
    private String DoorStyle;
    private String RefrigeratingMethod;

    public String getDoorStyle() {
        return DoorStyle;
    }

    public void setDoorStyle(String doorStyle) {
        DoorStyle = doorStyle;
    }

    public String getRefrigeratingMethod() {
        return RefrigeratingMethod;
    }

    public void setRefrigeratingMethod(String refrigeratingMethod) {
        RefrigeratingMethod = refrigeratingMethod;
    }

    public Refrigerator() {
    }

    public Refrigerator(String brand, String model, String color, String price, String doorStyle, String refrigeratingMethod) {
        super(brand, model, color, price);
        DoorStyle = doorStyle;
        RefrigeratingMethod = refrigeratingMethod;
    }
}
